<+b_dialog dialog_title="Effects" dw=@prefPShowManageEffectsWidth dialog_space=0 dialog_nogroup=1>

<assign nfoAreaWidth=#dw-@prefPShowManageEffectsList1Width-@prefPShowManageEffectsList2Width-3>
<assign listHeightA=@prefPShowManageEffectsHeight>
<assign listHeight=#listHeightA-174>

<img width=400 height=32 bgcolor=#colorHeaderBar+30 save=header>
<img src=#header i_recttop=0 i_rectbottom=60 i_rectleft=-30 i_rectright=430 i_rectradius=300 i_rectcolor=#colorHeaderBar-10 save=header>
<img src=#header i_recttop=30 i_rectbottom=31 i_rectcolor=#colorShadow save=header>
<img src=#header i_recttop=31 i_rectbottom=32 i_rectcolor=#colorHighlight save=header>

<#if prefHeaderTextDark>
	<img src=#header i_textm="$(dialog_title)" i_textshadowopacity=255 i_textshadowcol=#colorHighlight i_textshadowx=1 i_textshadowy=1 i_textshadowradius=1 i_textshadowspread=0 i_textsize=25 i_textweight=900 i_textleft=4 i_texttop=2 i_textcol=#colorHeaderText save=headerT>
<#else>
	<img src=#header i_textm="$(dialog_title)" i_textshadowopacity=255 i_textshadowcol=#colorShadow i_textshadowx=-1 i_textshadowy=-1 i_textshadowradius=1 i_textshadowspread=0 i_textsize=25 i_textweight=900 i_textleft=4 i_texttop=0 i_textcol=#colorHeaderText save=headerT>
<#endif>

<img width=2 height=32  bgcolor=#colorShadow save=tabSpace>
<img src=#tabSpace i_rectleft=1 i_rectbottom=30 i_rectcolor=#colorHighlight save=tabSpace>
<img src=#tabSpace i_recttop=31 i_rectcolor=#colorHighlight save=tabSpace>

<img width=2 height=32  bgcolor=#colorShadow save=tabSpaceA>
<img src=#tabSpaceA i_rectleft=1 i_rectbottom=32 i_rectcolor=#colorHighlight save=tabSpaceA>
<img src=#tabSpaceA i_recttop=31 i_rectcolor=#colorHighlight save=tabSpaceA>

<assign effectsDialog=1>

<#if !prefPShowManageEffectsPickerMode>
<table>
<tr>
	<td width=#ds></td>
	<td width=#dw-#ds bgcolor=#colorDialog height=32>
		<img height=#ds>
		<+tabs>
	</td>
</tr>
</table>
<#endif>
<table>
<tr>
	<td width=#dw bgcolor=#colorGroupBox>
		<img height=#ds>
		<center>
		<table>	
		<tr>
			<td width=#dw-300 bgcolor=#colorGroupBox>
				<table>
				<tr>
					<td><input type=label name=filterAspectLabel width=80 height=14 textalign=right textbold=1></td>
					<td width=#ds></td>
					<td><input type=button name=filterAspect width=120 height=14 link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox value="aspect"> </td>
					<td width=20></td>
					<td><input type=label name=filterTimeLabel width=60 height=14 textalign=right textbold=1></td>
					<td width=#ds></td>
					<td><input type=button name=filterTime width=80 height=14 link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox value="time"></td>
					<td width=20></td>
					<td><input type=label name=filterLayersLabel width=60 height=14 textalign=right textbold=1></td>
					<td width=#ds></td>
					<td><input type=button name=filterLayers width=80 height=14 link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox value="layers"></td>
					<td width=20></td>
					<td><input type=label name=filterCaptionsLabel width=60 height=14 textalign=right textbold=1></td>
					<td width=#ds></td>
					<td><input type=button name=filterCaptions width=80 height=14 link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox value="captions"></td>
				</tr>
				</table>
			</td>
			<td width=300 align=right bgcolor=#colorGroupBox>
				<input type=label name=showing width=230 height=16 textalign=right ascent=15>
				<img width=#ds>
				<input type=button name=showAll width=60 height=16 ascent=16 link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox value="(Show All)"> 
			</td>
		</tr>
		</table>
		</center>
		<img height=#ds>
	</td>
</tr>
</table>
<img src=#line width=#dw height=1>
<table>
<tr>
	<td>
		<input type=listbox name=categories ownerdraw=1 singlesel=1 width=@prefPShowManageEffectsList1Width height=#listHeight><br>
	</td>
	<td width=1 bgcolor=#colorFrame></td>
	<td>
<#if !prefPShowManageEffectsPickerMode>
		<input type=listbox name=effects ownerdraw=1 sort=1 singlesel=0 width=@prefPShowManageEffectsList2Width height=#listHeight><br>
<#else>
		<input type=listbox name=effects ownerdraw=1 sort=1 singlesel=1 width=@prefPShowManageEffectsList2Width height=#listHeight><br>
<#endif>

	</td>
	<td width=1 bgcolor=#colorFrame></td>
	<td width=#ds bgcolor=#colorGroupBox></td>
	<td bgcolor=#colorGroupBox width=#nfoAreaWidth>
		<assign iw=160>
		<img height=#ds>
			<center>
				<input type=custom name=thumbnail width=#iw height=90><br>
				<br>
				<input type=label name=title width=#iw height=60 textsize=18 textweight=bold><br>
				<input type=button name=publisher link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox width=#iw height=14><br>
				<br>
				<input type=label name=description width=#iw height=#listHeight-345><br>
				<br>
				<input type=label name=layers width=#iw height=14><br>
				<input type=label name=captions width=#iw height=14><br>
				<input type=label name=aspect width=#iw height=14><br>
				<input type=label name=times width=#iw height=45><br>
				<input type=button name=applyTimes link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox width=#iw height=14><br>
				<input type=button name=location link=#colorLinkText olink=#colorLinkOverText bgcolor=#colorGroupBox width=#iw height=14><br>

			</center>
		
	</td>
</tr>
</table>
<+d_dialog>
	<table>
	<tr>
		<td width=#bw-200>
<#if !prefPShowManageEffectsPickerMode>
			<img height=4><br>
			<input type=button name=add toolbar=1 width=60 height=20 xpar=images/button_add_wide.png grayxpar=images/button_add_wide.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Add/Import a new item" ascent=20>
			<input type=button name=create toolbar=1 width=60 height=20 xpar=images/button_create.png grayxpar=images/button_create.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Create a new effect from the selected slide" ascent=20>
			<input type=button name=remove toolbar=1 width=60 height=20 xpar=images/button_remove.png grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Remove selected item(s)" ascent=20>
			<img width=#ds>
			<input type=button name=edit toolbar=1 width=60 height=20 xpar=images/button_edit_wide.png grayxpar=images/button_edit_wide.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Edit the selected item(s)" ascent=20>
			<input type=button name=categorize toolbar=1 width=60 height=20 xpar=images/button_categorize.png grayxpar=images/button_categorize.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Add/Remove categories" ascent=20>
			<img width=#ds>
			<input type=button name=favorites toolbar=1 width=30 height=20 xpar=images/button_favorite.png grayxpar=images/button_favorite.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Add/remove from favorites" ascent=20>
			<img width=#ds>
			<input type=button name=export toolbar=1 width=60 height=20 xpar=images/button_export.png grayxpar=images/button_export.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Export the selected item(s)" ascent=20>
			<img width=#ds>
			<input type=button name=all toolbar=1 width=60 height=20 xpar=images/button_select_all.png  grayxpar=images/button_select_all.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Select all" ascent=20>
			<input type=button name=none toolbar=1 width=60 height=20 xpar=images/button_select_none.png  grayxpar=images/button_select_none.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Select none" ascent=20>
			<img width=#ds>
			<input type=button name=downloadMore toolbar=1 width=80 height=20 xpar=images/button_get_more.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog ascent=20 nofade=1>
			<img width=#ds>
			<input type=button name=menu toolbar=1 width=30 height=20 xpar=images/button_window.png grayxpar=images/button_window.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Options" ascent=20>
<#endif>
		</td>
		<td align=right width=200>
<#if !prefPShowManageEffectsPickerMode>
			<input type=button name=apply width=100 height=#dbh value="Apply to Slides" bgcolor=#colorSelection textcolor=#colorSelectionText >
			<img width=#ds>
			<input type=button name=ok width=#dbw height=#dbh value="Done">
<#else>
			<input type=button name=apply width=100 height=#dbh value="Apply" bgcolor=#colorSelection textcolor=#colorSelectionText >
			<img width=#ds>
			<input type=button name=cancel width=#dbw height=#dbh value="Cancel">
<#endif>
		</td>
	</tr>
	</table>
<+e_dialog>